// 导入二次封装axios
import koi from "@/utils/axios.ts";

// 统一管理接口
enum API {
    GET_COMMENT = "/backstage/comment",
    DELETE_COMMENT = "/backstage/comment"
}

// 分页获取所有的文章
export const getComment = (data: any) => koi.get(API.GET_COMMENT, data);
// 删除评论
export const deleteComment = (ids: any) => koi.delete(API.DELETE_COMMENT, {data:ids});
